#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

class A
{
public:
	A()
	{

	}
	virtual void func() {}
	//protected:
	int a;
};
class B
{
public:
	B()
	{

	}
	virtual void func() {}
	//protected:
	int b;
};
class C:public A,public B
{
public:
	C()
	{

	}
private:
	int c;
	
	virtual void func(){}
};

int main()
{
	C c;
	B* pc = &c;
	pc->func();
	cout << sizeof(c) << endl;
	//c.a = 1;
	//c.b = 2;
	//cout << c.A::a << endl;
	//c.A::a++;
	//cout << c.a << endl;
	return 0;
}